 app.controller('OrderListCtrl', function ($scope,ConfigMap, RecordService, OrderService){
		console.log('ssss');
		$scope.orders = [];
		OrderService.getOrders(function(orders){
			$scope.orders = orders;
		});
		$scope.doRefresh = function(){
			console.log('xxxxx');

			OrderService.query(function(orders){
				$scope.orders = orders;
				$scope.$broadcast('scroll.refreshComplete');
    			// $scope.$apply()
			});
		};
});
